package com.jason.kotlin.gank.repository

import com.jason.kotlin.gank.model.CaiYunApiResponse
import com.jason.kotlin.gank.model.CaiYunResultBean

/**
 * @description: CaiYunApi
 *
 * @author ChenBaoyang
 * @date 4/27/21 10:23
 */
interface CaiYunApi {

    /**
     * 获取天气信息，从彩云技术API接口
     *
     * @param location String?
     * @return CaiYunApiResponse<CaiYunResultBean>
     */
    suspend fun getWeatherFromCaiyun(location: String?): CaiYunApiResponse<CaiYunResultBean>
}